<?php

use Api\Application;

define('APP_PATH', dirname(__DIR__));
require APP_PATH . '/Autoload.php';
require APP_PATH . '/Config/config.php';


if (date('Y-m-d H:i:s') > ACTIVITY_LIMIT_TIME) {
    echo json_encode(['msg' => '活动已停止!']);
}

(new Application())->run();